<html>

<%@ include file="../common/IncludeTop.jsp"%>



<div id="Catalog">

<%--    <stripes:form--%>
<%--        beanclass="org.mybatis.jpetstore.web.actions.AccountActionBean"--%>
<%--        focus="">--%>
    <form action="signOnAccount" method="post">
        <p>Please enter your username and password.</p>
        <table>
            <tr>
                <td>Username</td>
                <td><input type="text" name="username" value="j2ee" ></td>
            </tr>
            <tr>
                <td>Password</td>
                <td><input type="text" name="password" value="j2ee" ></td>
            </tr>
            <tr>
                <td>CheckCode</td>
                <td><input type="text" name="checkcode"></td>
            </tr>
            <tr>
                <td colspan="2"><img id="img" src="${pageContext.request.contextPath}/web.servlet/CheckCodeServlet" alt="看不清，换一张"></td>
            </tr>
            <tr>
                <td><input type="submit" value="Login"></td>
                <td><input type="button" value="Sign up" onclick="reg()" ></td>

            </tr>
        </table>

    <p>Username:<input type="text" name="username" value="j2ee" /> <br />
        Password:<input type="password" name="password" value="j2ee" /><br />
        CheckCode:<input type="text" name="checkcode" autocomplete="off"/><br /><%--清除验证码缓存--%>
        <img id="img" src="${pageContext.request.contextPath}/web.servlet/CheckCodeServlet" title="Unclear?Just refresh!"><br/>

    </p>
    <br/>

        <p><input type="submit" value="login"></p>
        <td colspan="2" align="right">
            <font color="red">${requestScope.msg}</font>
        </td>

    <br/>
        Need a user name and password?
    <a href="newAccount">Register Now!</a></div>
</form>
<%@ include file="../common/IncludeBottom.jsp"%>


</html>